package GUI;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JTextArea;
import java.awt.Font;

public class About extends JFrame {

	private JPanel contentPane;

	/**
	 * Create the frame.
	 */
	public About() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 220, 165);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblVersion = new JLabel("Version:");
		lblVersion.setBounds(10, 11, 61, 14);
		contentPane.add(lblVersion);
		
		JLabel lblAuthors = new JLabel("Authors:");
		lblAuthors.setBounds(10, 36, 61, 14);
		contentPane.add(lblAuthors);
		
		JTextArea txtrAlex = new JTextArea();
		txtrAlex.setEditable(false);
		txtrAlex.setFont(new Font("Century Gothic", Font.PLAIN, 11));
		txtrAlex.setText("Aleksandra Yakimova\r\nAndrada Boja\r\nR\u00E9ka Solt\u00E9sz\r\nSabin Rimniceanu\r\nVasil Dobrev");
		txtrAlex.setBounds(74, 33, 120, 79);
		contentPane.add(txtrAlex);
		
		JLabel lblVersion_1 = new JLabel("");
		//Add a generated or a chosen or whatever version number, ok? :)
		lblVersion_1.setBounds(74, 11, 120, 14);
		contentPane.add(lblVersion_1);
	}
}
